<div class="menubox_box">	


<?php if($GLOBALS['shopperpress']['system'] =="credit"){

$MyCredits=0;

if(is_numeric($current_user->aim) && $current_user->aim > 0){

	$MyCredits = $current_user->aim;

}


?>

<h2><span><?php echo SPEC($GLOBALS['_LANG']['_dl']); ?></span></h2>


	 <div id="SideProductList">

        <p><?php echo SPEC($GLOBALS['_LANG']['_shoppingcarta']) ?> <strong id="cartqty"><?php echo $MyCredits; ?></strong> <?php echo SPEC($GLOBALS['_LANG']['_cremaining']); ?></p>
        <p class="CheckoutBtn"><a href="<?php echo get_option("checkout_url"); ?>?emptyCart=1"><?php echo SPEC($GLOBALS['_LANG']['_pcredits']); ?></a></p>
  		<span class="Price" id="carttotal" style="color:#eee; height:10px;"><?php echo ShopperPressMoneyFormat($_SESSION['ddc']['price']); ?></span>  
        
	</div> 
    


<?php }elseif($GLOBALS['shopperpress']['system'] =="cart" || $GLOBALS['shopperpress']['system'] =="amazon-store"){ ?>


  <?php if(isset($_SESSION['ddc']['productsincart'])){ echo displayProducts($_SESSION['ddc']['productsincart']); } // DO NOT REMOVED ?>

  <h2><span><?php echo SPEC($GLOBALS['_LANG']['_mybasket']); ?></span></h2>
 
	 <div id="SideProductList">
     
        <p>
		
		<?php echo SPEC($GLOBALS['_LANG']['_shoppingcarta']); ?> 
        
        <strong id="cartqty"><?php echo $_SESSION['ddc']['cartqty']; ?></strong> 
		
		<?php echo SPEC($GLOBALS['_LANG']['_shoppingcartb']) ?>
        
        </p>
        
        
        <p><?php echo SPEC($GLOBALS['_LANG']['_subtotal']) ?>: <span class="Price"><?php echo $_SESSION['currency_symbol']; ?></span> 
        
        <span class="Price" id="carttotal"><?php echo ShopperPressMoneyFormat($_SESSION['ddc']['price']); ?></span>
        
        
        </p>
        
        <p class="CheckoutBtn" <?php if(is_single()){ ?>style="margin-left:36px;"<?php } ?>>
        
        <a href="<?php echo get_option("checkout_url"); ?>" title="<?php echo SPEC($GLOBALS['_LANG']['_checkout']) ?>"><?php echo SPEC($GLOBALS['_LANG']['_checkout']) ?></a>
        
        </p>
        
      </div>  

<?php } ?>

</div>